package com.timemanage.network

import okhttp3.Callback
import okhttp3.OkHttpClient
import okhttp3.Request


object HttpUtil {

    fun senOkHttpRequest(address: String, callback: Any) {
        val client = OkHttpClient()

        val request = Request.Builder()
            .url(address)
            .build()
        client.newCall(request).enqueue(callback as Callback)
    }

}